package com.juyu.miliao.scheduler.dao.mysql;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.session.SqlSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;



@Repository
public class UserLoginDao {
	@Autowired
	private SqlSession sqlSession;
	
	public void updateAccountEnable(List<Integer>  userIds) {
		Map<String, Object> params = new HashMap<>();
		params.put("userIds", userIds);
		sqlSession.update("updateAccountEnable",params);
		
	}
}
